package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.dto.SysDto;
import org.example.log.RecordLog;
import org.example.log.UnRecordLog;

import java.util.List;


@Mapper
public interface SysDao {
//    @RecordLog(desc="查询所有用户")
    List<SysDto> queryList(@Param("page")int page ,@Param("num")int num);

    List<SysDto> queryList1();

    int queryCount();


//    @UnRecordLog
    List<SysDto> querList2();

    void addUserList(@Param("sysDto") SysDto sysDto);
}
